<!DOCTYPE html>
<html lang="en">

<head>
	<meta charset="utf-8" />
	<title>会员系统登录</title>
	<script type="text/javascript">
		if (/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)) {
			window.document.location.href = "/wap/login/";
		}
	</script>
	<link href="/public_source/www/images/favicon.png" rel="shortcut icon">
	<meta content="width=device-width, initial-scale=1.0" name="viewport" />
	<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />
	<meta content="会员系统" name="description" />
	<meta content="会员系统" name="keywords" />
	<!-- basic styles -->
	<link href="/public_source/www/assets/css/bootstrap.min.css" rel="stylesheet" />
	<link rel="stylesheet" href="/public_source/www/assets/css/font-awesome.min.css" />
	<!--[if IE 7]>
		  <link rel="stylesheet" href="/public_source/www/assets/css/font-awesome-ie7.min.css" />
		<![endif]-->
	<!-- page specific plugin styles -->
	<!-- fonts -->
	<!-- ace styles -->
	<link rel="stylesheet" href="/public_source/www/assets/css/ace.min.css" />
	<link rel="stylesheet" href="/public_source/www/assets/css/ace-rtl.min.css" />
	<!--[if lte IE 8]>
		  <link rel="stylesheet" href="/public_source/www/assets/css/ace-ie.min.css" />
		<![endif]-->
	<!-- inline styles related to this page -->
	<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
	<!--[if lt IE 9]>
		<script src="/public_source/www/assets/js/html5shiv.js"></script>
		<script src="/public_source/www/assets/js/respond.min.js"></script>
		<![endif]-->
	<style>
		body {
			font-family: "microsoft yahei", Microsoft Yahei;
			color: #6c6c6c;
			background: #eeeeee;
		}
	</style>
</head>

<body class="login-layout" style="background-image:url(/public_source/www/images/98.gif);">
	<div class="main-container">
		<div class="main-content">
			<div class="row">
				<div class="col-sm-10 col-sm-offset-1">
					<div class="login-container">
						<div class="center" style="padding-top:180px;">
							<h2 class="white" style="background:url(/public_source/www/images/icon.png) no-repeat 25px center;"><b>会 员 系 统</b></h2>
						</div>
						<div class="space-6"></div>
						<div class="position-relative">
							<div id="login-box" class="login-box visible widget-box no-border">
								<div class="widget-body">
									<div class="widget-main">
										<h4 class="header blue lighter bigger">
											<i class="icon-home green"></i>
											请输入登录帐号和密码
										</h4>
										<div class="space-6"></div>
										<form id="loginform" class="form-vertical no-padding no-margin" action="/admin/login" method="post">
											<fieldset>
												<label class="block clearfix">
													<span class="block input-icon input-icon-right">
														<input type="text" class="form-control" placeholder="用户帐号" name='username' value="<?php echo $username; ?>" />
														<i class="icon-user"></i>
													</span>
												</label>
												<label class="block clearfix">
													<span class="block input-icon input-icon-right">
														<input type="password" class="form-control" placeholder="用户密码" name='password' value="<?php echo $password; ?>" />
														<i class="icon-lock"></i>
													</span>
												</label>
												<div class="clearfix">
													<i class="icon-exchange red"></i>&nbsp;
													<b style="color:red;line-height:33px !important;">选择身份登录</b>
													<label class="block clearfix" style="float:right;">
														<span class="block input-icon input-icon-right">
															<select name="source" id="source">
																<option value="2" <?php if ($source == 2) {
																						echo 'selected="selected"';
																					} ?>>管理员登录</option>
																<option value="1" <?php if ($source == 1) {
																						echo 'selected="selected"';
																					} ?>>会员登录</option>
															</select>
														</span>
													</label>
												</div>
												<div class="space"></div>
												<div class="clearfix">
													<label class="inline">
														<h4 class="red">
															<span><i class="icon-bullhorn"></i></span>
															&nbsp;<?php echo $error_msg; ?>
														</h4>
													</label>
													<button type="submit" class="width-35 pull-right btn btn-sm btn-primary">
														<i class="icon-key"></i>
														登录
													</button>
												</div>
												<div class="space-4"></div>
											</fieldset>
										</form>
										<div class="social-or-login center">
											<span class="bigger-110">Or Login Using</span>
										</div>
									</div>
									<div class="toolbar clearfix">
										<div>
											<a href="#" onclick="show_box('forgot-box'); return false;" class="user-signup-link">
											</a>
										</div>
									</div>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
	<!--[if IE]>
<![endif]-->
	<!--[if !IE]> -->
	<script type="text/javascript">
		window.jQuery || document.write("<script src='/public_source/www/assets/js/jquery-2.0.3.min.js'>" + "<" + "/script>");
	</script>
	<!-- <![endif]-->
	<!--[if IE]>
<script type="text/javascript">
 window.jQuery || document.write("<script src='/public_source/www/assets/js/jquery-1.10.2.min.js'>"+"<"+"/script>");
</script>
<![endif]-->
	<script type="text/javascript">
		if ("ontouchend" in document) document.write("<script src='/public_source/www/assets/js/jquery.mobile.custom.min.js'>" + "<" + "/script>");
	</script>
	<!-- inline scripts related to this page -->
	<script type="text/javascript">
		function show_box(id) {
			jQuery('.widget-box.visible').removeClass('visible');
			jQuery('#' + id).addClass('visible');
		}
	</script>
</body>

</html>